package com.djz.tool.exception.code;

import com.djz.tool.enums.BaseEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * @author djz
 */
public enum BaseErrorCode implements BaseEnum<String, String> {

    SYSTEM_EXCEPTION("00000", "系统错误！");

    @Getter
    @Setter
    private String code;

    @Getter
    @Setter
    private String desc;

    BaseErrorCode(String code, String desc) {
        this.setCode(code);
        this.setDesc(desc);
    }
}
